/*
 * @Description: 
 * @Author: yeeChen
 * @Date: 2022-12-20 17:05:01
 * @LastEditTime: 2022-12-20 17:12:05
 * @LastEditors: yeeChen
 */
const express = require('express')
const app = express()
// 导入router模块
const router = require('./03.这是路由模块')

// app.use()函数就是注册全局中间件的
app.use('/api',router)


app.listen(80, () => {
    console.log('express running at http://127.0.0.1');
})